package com.sctvcloud.renhe.application;

/**
 * Created by Administrator on 2017/7/11 0011.
 */

public class Constances {

    /**
     * 是否是测试版本
     */
    public static boolean IS_TESTING;

    public static final String SITE_ID = "405";
    public static final String IS_CITY_STATE = "IS_CITY_STATE";
    /**
     * 站点在网络访问中的key值
     */
    public static final String SITE_NET_KEY = "siteNumber";

    public static final String PUSH_TYPE_KEY = "pushType";

    // public static final String ST_BASE_URL = "http://172.16.17.36:8080/";

    /*****************正式环境配置* 区县********************/

//    仁和正式地址
    public static final String ST_BASE_URL = "http://file.zhelirenhe.com/";// 新闻静态接口
    public static final String DY_BASE_URL = "http://api.zhelirenhe.com:8083/";// 新闻动态接口  http://192.168.29.163:8023/测试
    public static final String MALL_DY_BASE_URL = "http:///api.zhelirenhe.com:8023/";//积分商城动态接口测试环境
    public static final String MALL_ST_BASE_URL = "http://file.zhelirenhe.com/";//积分商城 静态接口
    public static final String ST_LOG_BASE_URL = "http://api.zhelirenhe.com:8085/";//统计日志 测试环境

//    public static final String ST_BASE_URL = "http://file.zhelirenhe.com:8081/";// 新闻静态接口 以后会去掉8081端口
//    public static final String DY_BASE_URL = "http://api.zhelirenhe.com:8083/";// 新闻动态接口  以后会去掉8083端口
//    public static final String MALL_DY_BASE_URL = "http://api.zhelirenhe.com:8023/";//积分商城动态接口测试环境
//    public static final String MALL_ST_BASE_URL = "http://file.zhelirenhe.com:8081/";//积分商城 静态接口
//    public static final String ST_LOG_BASE_URL = "http://api.zhelirenhe.com:8085/";//统计日志 测试环境



//    public static final String ST_BASE_URL = "http://file.zhelirenhe.com/";// 新闻静态接口 以后会去掉8081端口
//    public static final String DY_BASE_URL = "http://api.zhelirenhe.com:8083/";// 新闻动态接口
//    public static final String MALL_DY_BASE_URL = "http://api.zhelirenhe.com:8023/";//积分商城动态接口测试环境
//    public static final String MALL_ST_BASE_URL = "http://file.zhelirenhe.com/";//积分商城 静态接口
//    public static final String ST_LOG_BASE_URL = "http://api.zhelirenhe.com:8085/";//统计日志 测试环境



    /********************************************************/
    /**********************测试环境配置**********************/

//    public static final String ST_BASE_URL = "http://kscgc.sctv.com/";//正式环境静态
//    public static final String DY_BASE_URL = "http://apifscgc.sctv.com/";//正式环境动态     192.168.66.101测试
//    public static final String ST_LOG_BASE_URL = "http://scgclogs.sctv.com:8080/";//统计日志
//    public static final String MALL_ST_BASE_URL = "http://kscgc.sctv.com/";//积分商城 静态接口
//    public static final String MALL_DY_BASE_URL = "http://scgcmallapi.sctv.com:8866/";//积分商城动态接口



        //四川观察测试地址
//        public static final String ST_BASE_URL = "http://192.168.66.240:8080/";//局域网环境
//        public static final String DY_BASE_URL = "http://192.168.66.239:8083/";//测试环境 古 192.168.29.161:8084   马飞 192.168.29.163:8080
//        public static final String ST_LOG_BASE_URL = "http://192.168.66.136:8080/";//统计日志 测试环境
//        public static final String MALL_ST_BASE_URL = "http://192.168.66.240:8080/";//积分商城 静态接口
//        public static final String MALL_DY_BASE_URL = "http://192.168.66.136:8023/";//积分商城动态接口



    /**************
     * *********************************************/

    public static final String URL_MALL="sctv/scgcmall/store/shop.html";//积分商城的url
//    public static final String URL_COMMODITY_DETAIL ="http://js.sctv.com/xqtest/scgc/goods.html";//商品详情的url

    public static final int BIG_FONT = 23;
    public static final int MID_FONT = 21;
    public static final int SMALL_FONT = 20;
    public static final String FAST_SPEED = "80";
    public static final String MID_SPEED = "65";
    public static final String SLOW_SPEED = "45";

    public static final String SUBSCRIBE_KEY = "subscribe_key";
    public static final String FONT_KEY = "font_key";
    public static final String REBLLION_KEY = "rebllion_key";
    public static final String VOICE_TEMPLATE_KEY = "voice_template_key";
    public static final String VOICE_SPEED_KEY = "voice_speed_key";
    public static final String MATCHER_PHONE = "0?(13|14|15|17|18|19)[0-9]{9}";

    //用户类型
    public static final int USER_TYPE_COMMON = 1;
    public static final int USER_TYPE_REPORTER = 2;
    public static final int USER_TYPE_ANCHOR = 3;

    //新闻类型
    public static final int NEWS_TYPE_GRAPHIC = 1;//图文新闻
    public static final int NEWS_TYPE_AUDIO = 2;//音频新闻
    public static final int NEWS_TYPE_VIDEO = 3;//视频新闻
    public static final int NEWS_TYPE_TOPIC = 4;//专题
    public static final int NEWS_TYPE_LIVE = 5;//直播新闻
    public static final int NEWS_TYPE_H5 = 6;//外部链接H5
    public static final int NEWS_TYPE_COUNTY = 7;//区县新闻
    public static final int NEWS_PURE_PIC = 12;//纯图片新闻


    //新增栏目布局类型
    public static final int COMMON_FRG_VIEW_TYPE_FIRST_LARGE = 1;
    public static final int COMMON_FRG_VIEW_TYPE_ALL_LARGE = 2;

    //报料类型
    public static final int REBELLION_TYPE_BREAKING_NEWS = 1;//突发新闻
    public static final int REBELLION_TYPE_EXPERIENCES = 2;//见闻
    public static final int REBELLION_TYPE_HOT_NEWS = 3;//热点新闻
    public static final int REBELLION_TYPE_PIC_NEWS = 4;//图片新闻
    public static final int REBELLION_TYPE_VIDEO_NEWS = 5;//视频新闻

    public static final int MODE_COMMENT_SEND_NEWS = 221;
    public static final int MODE_COMMENT_SEND_COMMENT = 222;
    public static final int MODE_COMMENT_GET_NEW = 223;

    //直播类型
    public static final int LIVE_TYPE_LIVING = 1;
    public static final int LIVE_TYPE_APPOINT = 2;
    public static final int LIVE_TYPE_REVIEW = 3;
    public static final int LIVE_TYPE_STUDIO = 4;
    public static final int LIVE_TYPE_CHAT = 5;

    //评论类型
    public static final int COMMENT_TYPE_NEWS = 0;
    public static final int COMMENT_TYPE_TOPIC = 1;
    public static final int COMMENT_TYPE_LIVE = 2;

    //请求评论数据类型
    public static final int REQUEST_COMMENT_TYPE_NEWS = 0;  //新闻评论
    public static final int REQUEST_COMMENT_TYPE_TOPIC = 1;//专题评论
    public static final int REQUEST_COMMENT_TYPE_LIVE = 2;//直播评论

    //投票类型
    public static final int VOTE_TYPE_RADIO = 0;
    public static final int VOTE_TYPE_MULTI = 1;

    //推送类型
    public static final int PUSH_TYPE_NORMAL = 0;//
    public static final int PUSH_TYPE_DYNAMIC = 1;//直播间动态
    public static final int PUSH_TYPE_CHAT = 2;//直播聊天室

    //资讯类型
    public static final int INFORMATION_TYPE_FLASH = 1;
    public static final int INFORMATION_TYPE_WEIGHT = 2;

    public static final int SPACING_SMALL = 40;
    public static final int SPACING_MIDDLE = 60;
    public static final int SPACING_LARGE = 80;

    //第三方登录类型
    public static final int OPEN_TYPE_LOGIN_WEIBO = 1;
    public static final int OPEN_TYPE_LOGIN_WEIXIN = 2;
    public static final int OPEN_TYPE_LOGIN_QQ = 3;

    //数据版本的key
    public static final int DATA_VERSION_ADYNAMIC = 831;//主播动态的key

   //增加积分类型 1:签到;2:评论;3:转发;4:投稿;5:采用投稿;6:邀请码分享(推荐);7:新用户注册;8:输入邀请码;9:点赞10:阅读新闻;
   public static final int ADD_INTEGRAL_SIGN_IN = 1;
   public static final int ADD_INTEGRAL_COMMENT = 2;
   public static final int ADD_INTEGRAL_FORWARD = 3;
   public static final int ADD_INTEGRAL_SUBMISSION = 4;
   public static final int ADD_INTEGRAL_USE_SUBMISSION = 5;
   public static final int ADD_INTEGRAL_SHARE_INVITATION = 6;
   public static final int ADD_INTEGRAL_REGISTER = 7;
   public static final int ADD_INTEGRAL_INPUT_INVITATION = 8;
   public static final int ADD_INTEGRAL_DOUP = 9;//点赞
   public static final int ADD_INTEGRAL_READ_NEWS = 10;//


}
